package com.hzp.micromall.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzp.micromall.order.dao.OmsCompanyAddressDao;
import com.hzp.micromall.order.entity.OmsCompanyAddress;
import com.hzp.micromall.order.service.OmsCompanyAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author houzipeng
 * @Date 2022/2/28 22:00
 * @Version 1.0
 */
@Service
public class OmsCompanyAddressServiceImpl extends ServiceImpl<OmsCompanyAddressDao, OmsCompanyAddress> implements OmsCompanyAddressService {
    @Autowired
    private OmsCompanyAddressDao companyAddressDao;
    @Override
    public List<OmsCompanyAddress> list(){
        return companyAddressDao.selectList(null);
    }
}
